import request from '@/utils/request.js'

export const getHots = ()=>{
    return request({
        method:'get',
        url:'/search/hot',
    })
}

export const searchKey=(params)=>{
    return request({
        method:'get',
        url:'/search',
        params
    })
}